HEY commands for NiftyPlayer
version 0.0.2
(c) 2001, mmu_man, revol@free.fr

Intro
Hey is a little program that you can use to send BMessages to applications
This can be used for many things... think of controlling nplay and others applications from a script to do a demo for instance.

If you don't already have it (btw you _must_ have it !) grab it at BeBits 

So basically you can send commands to nplay like this (in a terminal or a shell-script) (the part in [] is optional, depending on message):

hey nplay message of Window id [with args]

Where:
	message is a BMessage identifier, 4 chars enclosed in quotes, like: 'open'
(see the list of messages nplay handles below)

	id is the identifier of the window you want to talk, most of the time it's O, but it can also be the title.

	args are optionnal args needed by some messages. they are expressed in the hey vocab


Messages
Here is a list of the messages nplay recognizes :

	'open' this message tels nplay to open the file you tell in arg using : file=/whatever/the/path/to/the/file

	'stop' stop the file (actually pause, seek-to 0)
	'play' play/pause
	'paus' play/pause

	'seek' doesn't seem to work actually. it's intended to use either a to='int64(time)' or a by='int64(offset)' argument

	'NPsv' sets the volume to to='float(volume)'

